package com.jumi.microservice.domain;


import com.jumi.microservice.common.base.AbstractObject;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 商品sku库存流水DTO类
 *
 * @author Administrator
 */
public class GoodsStockLogDTO extends AbstractObject implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;
    /**
     * 订单编号
     */
    private String orderSn;

    /**
     * 商品sku id
     */
    private Long goodsSkuId;

    /**
     * 商品spu id
     */
    private Long goodsId;

    /**
     * 实发仓库ID
     */
    private Long warehouseId;

    /**
     * 锁定库存
     */
    private Integer lockedStorage;

    /**
     * 库存类型，1真实库存，2.预售库存
     */
    private Integer inventoryType;

    /**
     * 用户账号ID
     */
    private Long userAccountId;

    /**
     * 用户请求时间
     */
    private LocalDateTime requestTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getLockedStorage() {
        return lockedStorage;
    }

    public void setLockedStorage(Integer lockedStorage) {
        this.lockedStorage = lockedStorage;
    }

    public Long getGoodsSkuId() {
        return goodsSkuId;
    }

    public void setGoodsSkuId(Long goodsSkuId) {
        this.goodsSkuId = goodsSkuId;
    }

    public Long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public Integer getInventoryType() {
        return inventoryType;
    }

    public void setInventoryType(Integer inventoryType) {
        this.inventoryType = inventoryType;
    }

    public Long getUserAccountId() {
        return userAccountId;
    }

    public void setUserAccountId(Long userAccountId) {
        this.userAccountId = userAccountId;
    }

    public LocalDateTime getRequestTime() {
        return requestTime;
    }

    public void setRequestTime(LocalDateTime requestTime) {
        this.requestTime = requestTime;
    }

    public Long getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(Long warehouseId) {
        this.warehouseId = warehouseId;
    }
}
